package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.WarehouseDeliveryInformation;

/**
 * 发货信息Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public interface WarehouseDeliveryInformationMapper 
{
    /**
     * 查询发货信息
     * 
     * @param id 发货信息主键
     * @return 发货信息
     */
    public WarehouseDeliveryInformation selectWarehouseDeliveryInformationById(Long id);

    /**
     * 查询发货信息列表
     * 
     * @param warehouseDeliveryInformation 发货信息
     * @return 发货信息集合
     */
    public List<WarehouseDeliveryInformation> selectWarehouseDeliveryInformationList(WarehouseDeliveryInformation warehouseDeliveryInformation);

    /**
     * 新增发货信息
     * 
     * @param warehouseDeliveryInformation 发货信息
     * @return 结果
     */
    public int insertWarehouseDeliveryInformation(WarehouseDeliveryInformation warehouseDeliveryInformation);

    /**
     * 修改发货信息
     * 
     * @param warehouseDeliveryInformation 发货信息
     * @return 结果
     */
    public int updateWarehouseDeliveryInformation(WarehouseDeliveryInformation warehouseDeliveryInformation);

    /**
     * 删除发货信息
     * 
     * @param id 发货信息主键
     * @return 结果
     */
    public int deleteWarehouseDeliveryInformationById(Long id);

    /**
     * 批量删除发货信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseDeliveryInformationByIds(String[] ids);

    public int selectDeliveryInformation(List<WarehouseDeliveryInformation> list);

    public Long selectAddInventory(WarehouseDeliveryInformation warehouseDeliveryInformation);

    public int updateAddInventory(WarehouseDeliveryInformation temp);
}
